package com.summer.framework.common.distributed.lock;

/**
 * @auther: 杨杰
 * @date: 2019/6/13 17:25
 * @description: Redisson分布式读写锁接口
 */
public interface DistributedReadWriteLock {

    <T> T read(DistributedLockCallback<T> callback);

    <T> T write(DistributedLockCallback<T> callback);

}
